﻿using System;
using System.Web;
using System.IO;
using System.Xml;
using Fly.Data;
using FlyWebFrame.Model;

namespace FlyWebFrame.Router
{
    public class Global : Fly.Web.Router.Global
    {
       
        protected void Session_OnEnd(object sender, EventArgs e) 
        {
            Application.Lock();
            Application["online"] = (int)Application["online"] - 1;
            Application.UnLock();
        }

        protected void Application_BeginRequest(Object sender, EventArgs e)
        {
        }
    }
}